package com.space.myapollo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "欢迎测试")
@RestController
@RequestMapping("hel")
public class HelloController {

	@ApiOperation("测试项")
	@GetMapping("index")
	public String index() {
		return "Hello to index";
	}
}
